 <#include "out_layout.html"/>
 
 <@layout>
<body> 
 <!--<![endif]-->
   
    <#include "out_header.html"/>
        <div class="row-fluid">
    <div class="dialog">
    
        <div class="block">
			<p class="block-heading">登录</p>
			<#if result??&&result.status=='error'>
			<div class="alert alert-error">
              <button data-dismiss="alert" class="close" type="button">×</button>
              <strong>账号或密码错误，请重新输入！</strong>
            </div>
			</#if>
            <div class="block-body">
                <form method="post" action="${basepath!}/admin/login">
                    <label>账号</label>
                    <input required placeholder="请输入账号" value="${username!}" name="username" type="email" class="span12">
                    <label>密码</label>
                    <input required placeholder="请输入密码" name="password" type="password" class="span12">
                    <button class="btn btn-primary pull-right" type="submit">登录</button>
                    <label class="remember-me"><input name="remenber" value="1" type="checkbox"> 记住我</label>
                    <div class="clearfix"></div>
                </form>
            </div>
        </div>
        <p class="pull-right" style=""><a href="${basepath!}/">返回网站首页</a></p>
    </div>
</div>
</body>
</@layout>


